<template>
  <div class="home-container">
    <h2>欢迎来到资讯后台管理系统！</h2>
    <el-carousel :interval="4000" type="card" height="300px">
      <el-carousel-item>
        <img src="../../assets/home/articel.png" alt="">
        <h3 class="medium">内容管理</h3>
      </el-carousel-item>
      <el-carousel-item>
        <img src="../../assets/home/comments.png" alt="">
        <h3 class="medium">评论管理</h3>
      </el-carousel-item>
      <el-carousel-item>
        <img src="../../assets/home/publish.png" alt="">
        <h3 class="medium">修改管理</h3>
      </el-carousel-item>
      <el-carousel-item>
        <img src="../../assets/home/fans.png" alt="">
        <h3 class="medium">粉丝管理</h3>
      </el-carousel-item>
      <el-carousel-item>
        <img src="../../assets/home/flow.png" alt="">
        <h3 class="medium">流量管理</h3>
      </el-carousel-item>
      <el-carousel-item>
        <img src="../../assets/home/usersetting.png" alt="">
        <h3 class="medium">个人设置</h3>
      </el-carousel-item>

    </el-carousel>
    <h4>你可以完成以上操作</h4>
  </div>
</template>
<script>

export default {
  name: "HomeIndex"
}
</script>
<style>
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
}

h2 {
  margin-bottom: 40px;
}

h4 {
  margin-top: 30px;
  color: burlywood;
  text-align: center;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}
img{
  width: 100%;
  height: 100%;
}
.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
</style>